<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <title>东家帮-我的</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" id="viewport" name="viewport">
	<meta name="format-detection" content="telephone=no">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="stylesheet" href="${base}/css/common.css"/>
	<link rel="stylesheet" href="${base}/css/index2.css"/>
	<base href="${base}/index/">
</head>
<body>
<div class="main orderList" style="background: #f0f0f0;">
	<div class="menu" style=" margin-top: 18px;border: none;">
		<div class="one" >
			<div class="line" style="margin-top: 6px;padding-bottom: 6px;">
				当前用户等级:${rank?default('普通会员')}
			</div>	
		</div>		
	</div>
	<div class="menu" style=" margin-top: 18px;border: none;">
		<div class="one" >
			<div class="line" style="margin-top: 6px;padding-bottom: 6px;">
				当前用户余额:${moeny?default('0')}
			</div>	
		</div>		
	</div>
	<div class="menu" style=" margin-top: 18px;border: none;">
		<div class="one" >
			<div class="line" style="margin-top: 6px;padding-bottom: 6px;">
				<div class="label" style="color:#333;font-size: 18px;">姓名:</div>
				<div class="text" style="width: 70%;color: #999;font-size: 18px;"><input name="username" id="username" value="${username}" placeholder="姓名" /></div>
			</div>	
		</div>		
	</div>
	<div class="menu" style=" margin-top: 18px;border: none;">
		<div class="one" style="width: 100%;">
			<div class="line" style="width: 100%;">
				<input class="btn" type="button" value="确定" id ="create" onclick="save()" style="    width: 90%;padding: 10px 5% 10px 0%;text-align: center;border-radius: 20px;font-size: 20px;"/>
			</div>
		</div>		
	</div>
	<div class="menu" style=" margin-top: 18px;border: none;">
		<div class="one" style="width: 100%;">
			<p style="margin-left: 3%;">如需充值，请联系客服</p>
			<div class="line" style="width: 100%;text-align: center;margin-left: -6%;margin-top: 40px;margin-bottom: 30px;">
				 
				 <p><img src="${base}/webImages/QR.png" width="125" height="125"></p>
		         <p class="price_title">客服电话：15962257550</p>
		         <p class="price_title">客服微信：djzf580</p>
			</div>
		</div>	
	</div>
</div>
</body>
<script type="text/javascript" src="${base}/js/common.js"></script>
<script src="${base}/js/jquery1.10.2.min.js"></script>

<script>
	function save() {
		var username = $("#username").val();
		$.ajax({ url: "personalSave?id=${uid}",
			type: "post",
		    data:{"username":username},
			success: function(data){
		       alert(data);
	  }});		
	}

</script>
</html>